package com.ai_daily.aitiantian.bean;

import java.util.HashMap;
import java.util.Map;

public class BaseResponseBean<T> extends BaseBean {
    private int code;
    private String message;
    private T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaseResponseBean{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    @Override
    protected Map<String, String> getParamsMap() {
        Map<String, String> params = new HashMap<String,String>();
        return params;
    }
}
